/* eslint-disable no-shadow */
export const FleetColums: any[] = [
	{title: '城市', dataIndex: 'cityName', align: 'center', width: 120},
	{
		title: '所属公司',
		dataIndex: 'orgName',
		align: 'center',
		width: 150,
	},
	{title: '公司类型', dataIndex: 'companyType', width: 120, align: 'center'},
	{title: '车队名称', dataIndex: 'fleetName', width: 150, align: 'center'},
	{
		title: '司机数量',
		dataIndex: 'driverQuantity',
		width: 120,
		align: 'center',
	},
	{
		title: '车队长名称',
		dataIndex: 'captainName',
		width: 150,
		align: 'center',
	},
	{
		title: '车队长电话',
		dataIndex: 'captainPhone',
		width: 150,
		align: 'center',
	},
	{title: '创建时间', dataIndex: 'createTime', width: 160, align: 'center'},
	{title: '创建人', dataIndex: 'createUserName', width: 120, align: 'center'},
	{
		title: '最近更新时间',
		dataIndex: 'updateTime',
		width: 160,
		align: 'center',
	},
]

export const LogFleetColnums: any[] = [
	{title: '操作账号', dataIndex: '', align: 'center'},
	{title: '操作时间', dataIndex: '', align: 'center'},
	{title: '操作类型', dataIndex: '', align: 'center'},
	{title: '操作描述', dataIndex: '', align: 'center'},
]

// 司官员表格列
export const ManagerColnums: any[] = [
	{title: '司管员id', dataIndex: 'id', align: 'center'},
	{title: '司管员姓名', dataIndex: 'name', align: 'center'},
	{title: '司管员联系方式', dataIndex: 'phone', align: 'center'},
	{title: '司管员下司机数量', dataIndex: 'driverCount', align: 'center'},
]

export const OperationDriverType = {
	Add: 'add',
	Transfer: 'transfer',
	Edit: 'edit',
}
export const PageType = {
	Add: 'add',
	Ddit: 'edit',
	Detail: 'detail',
}

export const formItemType: any = {
	groupOrgId: '司机所属公司',
	cityId: '城市',
	driverId: '司机ID',
	name: '司机姓名',
	status: '司机状态',
	tag: '司机标签',
	uSource: '司机渠道来源',
	ditchCode: '司机渠道代码',
	carLeader: '车队长',
}

export const fleetFormItemType: any = {
	fleetName: '车队名称',
	captainName: '车队长名称',
	captainPhone: '车队长电话',
}
